package com.yzc.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.yzc.model.DTO.FlightOrderDetail;
import com.yzc.model.entity.ticket_order.OrderFlight;
import com.yzc.model.vo.page.PageResult;
import com.yzc.model.vo.ticket_order.FlightOrderVo;
import com.yzc.result.Result;

public interface TicketFlightOrderService extends IService<OrderFlight> {

    void createTicketOrder(FlightOrderDetail flight);

    PageResult<FlightOrderVo> listOrders(Long userId, Integer pageNo, Integer pageSize);


    Result<String> payOrder(Long orderId, String paymentMethod);
}
